package com.lefeng.cockpit.datax.service;

import com.didiglobal.logi.security.common.PagingData;
import com.lefeng.cockpit.common.bean.dto.executor.ExecutorDTO;
import com.lefeng.cockpit.common.bean.vo.execute.ExecutorStateVO;
import com.lefeng.cockpit.common.bean.vo.execute.ExecutorVO;

/**
 * DataX执行器服务接口
 */
public interface ExecutorService {

    PagingData<ExecutorVO> pagingExecutor(ExecutorDTO executorDTO);

    /**
     * 获取所有执行器的状态
     *
     * @return
     */
    ExecutorStateVO getExecutorState();

}